import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms'; // 添加这行
import { BaseUploadComponent } from './base-upload/base-upload.component';
import { UploadRouterModule } from './upload-routing.module';
import { NzAffixModule, NzBreadCrumbModule, NzButtonModule, NzRadioModule, NzUploadModule } from 'ng-zorro-antd';
import { FileFragmentComponent } from './file-fragment/file-fragment.component';
import { FileDownloadComponent } from './file-download/file-download.component';

@NgModule({
  declarations: [BaseUploadComponent, FileFragmentComponent, FileDownloadComponent],
  imports: [
    CommonModule,
    FormsModule, // 添加这行
    NzUploadModule,
    NzAffixModule,
    NzBreadCrumbModule,
    NzButtonModule,
    NzRadioModule,
    UploadRouterModule
  ]
})
export class UploadModule { }
